package com.macro.mall.mapper;

import com.macro.mall.model.PmProdStockTempTask;
import com.macro.mall.model.PmProdStockTempTaskExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface PmProdStockTempTaskMapper {
    long countByExample(PmProdStockTempTaskExample example);

    int deleteByExample(PmProdStockTempTaskExample example);

    int deleteByPrimaryKey(Long id);

    int insert(PmProdStockTempTask record);

    int insertSelective(PmProdStockTempTask record);

    List<PmProdStockTempTask> selectByExample(PmProdStockTempTaskExample example);

    PmProdStockTempTask selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") PmProdStockTempTask record, @Param("example") PmProdStockTempTaskExample example);

    int updateByExample(@Param("record") PmProdStockTempTask record, @Param("example") PmProdStockTempTaskExample example);

    int updateByPrimaryKeySelective(PmProdStockTempTask record);

    int updateByPrimaryKey(PmProdStockTempTask record);

    int updateStockTaskStatusByKey(@Param("record")  PmProdStockTempTask record,@Param("newStatus") Integer newStatus);
}